/**
 * 
 */
package com.jm.web.form;

import com.jm.web.form.support.FormItem;

/**
 * @author yanjie
 * Nov 21, 2011 3:41:41 PM
 */
public class Iframe extends FormItem{
	private String src = "";
	private String rsrc = "";//用在延遲載入
	
	public void OnSetProperty(String strName, String strValue) {
		if (strName.compareToIgnoreCase("src") == 0)
		{
			this.src = strValue;
			return;
		}
		
		super.OnSetProperty(strName,strValue);
	}
	
	@Override
	public void init() {
		super.init();
		this.setNodeName("iframe");
	}
	
	public String getSrc() {
		return src;
	}

	public void setSrc(String src) {
		this.src = src;
	}
	
	public String getRsrc() {
		return rsrc;
	}

	public void setRsrc(String rsrc) {
		this.rsrc = rsrc;
	}
}
